package com.example.perpetualcalendar.domain.entity;

import com.example.perpetualcalendar.constant.AppConst;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

public class HistoryRequest {

    private String key;
    private String date;

    public HistoryRequest() {
        this.key = AppConst.HISTORY_KEY;
        SimpleDateFormat format = new SimpleDateFormat("M/d");
        this.date = format.format(new Date());
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
